package com.zh.familyInfo.service;

import com.zh.familyInfo.domain.IllChronicDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-11-27 10:36:27
 */
public interface IllChronicService {

	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	IllChronicDO get(String id);

	/**
	 * 分页条件查询所有
	 * @param map
	 * @return
	 */
	List<IllChronicDO> list(Map<String, Object> map);

	/**
	 * 分页计数查询
	 * @param map
	 * @return
	 */
	int count(Map<String, Object> map);

	/**
	 * 保存
	 * @param illChronic
	 * @return
	 */
	int save(IllChronicDO illChronic);

	/**
	 * 更新
	 * @param illChronic
	 * @return
	 */
	int update(IllChronicDO illChronic);

	/**
	 * 根据id删除
	 * @param id
	 * @return
	 */
	int remove(String id);

	/**
	 * 根据多个id删除
	 * @param ids
	 * @return
	 */
	int batchRemove(String[] ids);
}
